package com.cy.ppj.model.query.order;

import javax.validation.constraints.NotNull;

import com.cy.ppj.model.Page;
import com.cy.ppj.model.enums.UserType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前台-订单浏览记录查询
 * @author: tanyilin
 * @create: 2018年8月16日 上午10:37:39
 */
@Data
@ApiModel("前台-订单浏览记录查询")
public class OrderScanRecordQuery extends Page{

	@ApiModelProperty(value = "订单浏览记录类型：1-待确认，2-已退回", example = "0", required = true)
	@NotNull(message = "订单浏览记录类型不可为空")
	private Integer type;
	
	@ApiModelProperty(value = "用户ID", example = "0")
	private Long userId;

	@ApiModelProperty(value = "用户类型，区分渠道员和业务员")
	private UserType userType;
	
}
